using System;
using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Requests
{
	public static class EntityTaskAttachmentsCreateExtend
{
		public static TaskAttachments ToCreateEntity(this RequestTaskAttachmentsDto dto)
		{
			return new TaskAttachments
			{
				TaFilePath = dto.filePath,
				TaTaskId = dto.taskId,
			};
		}
	}
}
